package extendindex;

public class Teacher extends Person{
    public void teach(){
        System.out.println("teach java");
    }
}
